projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0f5f7
)
(flyspell-kill-ispell-hook): Fix braino.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 15 Jan 2006 05:47:44 +0000
(
05:47
+0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 15 Jan 2006 05:47:44 +0000
(
05:47
+0000)
lisp/textmodes/flyspell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/flyspell.el
b/lisp/textmodes/flyspell.el
index 665d6c59fd7eb7a07a19e7ce39e9f5b0da736012..a6e3734b42c19d00242656b550c5026263940a55 100644
(file)
--- a/
lisp/textmodes/flyspell.el
+++ b/
lisp/textmodes/flyspell.el
@@
-528,7
+528,8
@@
in your .emacs file.
(defun flyspell-kill-ispell-hook ()
(setq flyspell-last-buffer nil)
(dolist (buf (buffer-list))
- (kill-local-variable 'flyspell-word-cache-word)))
+ (with-current-buffer buf
+ (kill-local-variable 'flyspell-word-cache-word))))
;;*---------------------------------------------------------------------*/
;;* flyspell-mode-on ... */